const fs = require("fs");
const path = require("path");

console.log(__dirname);

console.log(fs.readdirSync(__dirname));

// fs.readdirSync(__dirname).forEach(item => {
//     console.log(path.join(__dirname , item));
//     console.log(fs.statSync(path.join(__dirname , item)).birthtime.toLocaleDateString());
//     console.log(fs.statSync(path.join(__dirname , item)).ctime.toLocaleDateString());
//     console.log(fs.statSync(path.join(__dirname , item)).ctime.toLocaleTimeString());
// })

console.log(fs.statSync(__dirname).ctime.toLocaleDateString());
console.log(fs.statSync(path.join(__dirname , "data.json")).size);


